package com.atguigu06.polymorphism;

/**
 * ClassName: Person
 * Package: com.atguigu06.polymorphism
 * Description:
 *
 * @Author 姜
 * @Create 2023/11/22 13:57
 * @Version 1.0
 */
public class Person {
    String name;
    int ate;

    public void eat() {
        System.out.println("干饭");
    }

    public void walk() {
        System.out.println("走一走");
    }
}
